package com.qwz.extend;

public class Card2 implements PayStrategy {
    /**
     * 账号信息
     */
    private String account;

    public Card2(String account) {
        this.account = account;
    }

    public void pay(PaymentContent content) {
        System.out.println("现在给"+content.getUsername()+"的"+this.account+"账号支付了"+content.getMoney()+"元");
    }
}
